package com.dhsc.controller.ywjk.qywjh.khtsxx;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhsc.domain.jkzx.ywjk.qywjh.jhmxxx.YcjlmxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.qywjh.khtsxx.IKhtsxxService;

/**
 * @ClassName: KhtsxxController
 * @Description: 客户提示信息
 * @Author: jwj
 * @Date: 2023/11/7 10:52
 */
@Controller
@RequestMapping("/ywjk/qywjh/khtsxx")
public class KhtsxxController {

    @Autowired
    private IKhtsxxService khtsxxService;

    /**
     * @Description: 查询客户提示异常类型
     * @MessageName:queryKhtsYclx
     * @Param:
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 14:57
     */
    @ResponseBody
    @RequestMapping(value="/queryKhtsYclx")
    public ResponseObject queryKhtsYclx(){
        return khtsxxService.queryKhtsYclx();
    }

    /**
     * @Description: 查询客户提示信息
     * @MessageName:queryKhtsInfo
     * @Param:  ycjlmxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 15:39
     */
    @ResponseBody
    @RequestMapping(value="/queryKhtsInfo")
    public LayuiTableVo queryKhtsInfo(YcjlmxVo ycjlmxVo){
        return khtsxxService.queryKhtsInfo(ycjlmxVo);
    }

    /**
     * @Description: 处理客户提示
     * @MessageName:handleKhts
     * @Param: ycjlmxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/9 9:52
     */
    @ResponseBody
    @RequestMapping(value="/handleKhts")
    public ResponseObject handleKhts(YcjlmxVo ycjlmxVo){
        return khtsxxService.handleKhts(ycjlmxVo);
    }

}
